<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>01使用jquery.media插件进行PDF预览</title>
		<script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
		<script type="text/javascript" src="js/jquery.media.js"></script>
	</head>
	<script>
		$(document).ready(function() {
			$('div.media').media({
				width: 1200,
				height: 600,
				src: "生活规律.pdf"
			});
		});
	</script>
	<body>
		<div class="media"></div>
	</body>
</html>